package com.wlps.mapper;

import com.wlps.entity.Supplier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 供应商表(supplier) (没有使用复合索引数据量大时可能回表操作很影响性能) Mapper 接口
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-31
 */
@Repository
public interface SupplierMapper extends BaseMapper<Supplier> {
    /**
     * 根据供应商名称查询供应商
     *
     * @param supplierName
     * @return
     */
    Supplier selectSupplierByName(@Param(value = "supplierName") String supplierName);
}
